﻿<%@ Page Language="C#" MasterPageFile="~/System/MasterPage.master" AutoEventWireup="true" CodeFile="company_isprint.aspx.cs" Inherits="Agency_company_isprint" Title="Untitled Page" %>
<%@ Register Src="../System/DbPageFlip.ascx" TagName="DbPageFlip" TagPrefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="cphMaster" Runat="Server">
 <script language="vbscript" type="text/vbscript">
            Sub AreaSelect(byval id)
                Dim strReturnValue
	            strReturnValue = showModalDialog("../System/AreaSelect.aspx?ROOT=" & id,null,"dialogWidth:320px;dialogHeight:480px;status:0;scroll:no;center:yes;help:no;")
	            If Len(strReturnValue) > 0 Then
	                document.all("txtAreaId").value = Split(strReturnValue,vbCrLf)(0)
	                document.all("txtAreaName").value = Split(strReturnValue,vbCrLf)(1)
	            End If
            End Sub
    </script>

   
    <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%">
       
       
       
        <tr>
            <td class="table_td3" style="height: 24px; width: 116px;">
                企业编号：</td>
            <td class="table_td2" style="height: 24px">
                <asp:TextBox runat="server" ID="usercode_TB" NumericOnly="企业编号" DYL="企业编号" ></asp:TextBox>
            </td>
            <td class="table_td3" style="width: 123px; height: 24px;">
                企业名称:</td>
            <td class="table_td2" style="width: 177px; height: 24px;">
                &nbsp;<asp:TextBox ID="companyname_TB" runat="server"></asp:TextBox></td>
        </tr>
        <tr>
            <td class="table_td3" style="height: 26px; width: 116px;">
                撤废原因:</td>
            <td class="table_td2" style="height: 26px">
                <span style="color: #ff6666">
                    <asp:TextBox ID="NopassExplain" runat="server" Height="23px" Width="365px"></asp:TextBox></span></td>
            <td  align="center" class="table_td2" style="width: 123px; height: 26px">
                <asp:Button ID="Button1"  CssClass="button_bg" runat="server" Text="查　询" Height="21px" Width="56px" /></td>
            <td class="table_td2" style="height: 26px; width: 177px;">
                &nbsp;
                <asp:Button ID="Button2"　 CssClass="button_bg" runat="server" Text="撤　废" OnClick="Button2_Click" Width="54px" />
                <asp:Button ID="Button3"　CssClass="button_bg" runat="server" Text="恢复撤废" Width="58px" OnClick="Button3_Click" /></td>
        </tr>
       
    </table>
    &nbsp;  <uc1:DbPageFlip ID="DbPageFlip1" runat="server" />
    &nbsp;&nbsp;<br />
    &nbsp;
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" >
    <Columns>
    <asp:BoundField DataField="中标企业编号" HeaderText="中标企业编号" />
    <asp:BoundField DataField="中标企业名称" HeaderText="中标企业名称" />
    <asp:TemplateField>
    <HeaderTemplate>
    原中标
    </HeaderTemplate>
    
    <ItemTemplate>
    <a href='companyTB_Goods.aspx?UserCode_TB=<%#DataBinder.Eval(Container.DataItem,"中标企业编号") %>&projectid=8' target="_blank"><%#DataBinder.Eval(Container.DataItem,"原中标") %></a>
    
    </ItemTemplate>
    </asp:TemplateField>
    
     <asp:TemplateField>
    <HeaderTemplate>
    自行采购
    </HeaderTemplate>
    
    <ItemTemplate>
    <a href='companyTB_Goods.aspx?UserCode_TB=<%#DataBinder.Eval(Container.DataItem,"中标企业编号") %>&projectid=9' target="_blank"><%#DataBinder.Eval(Container.DataItem,"自行采购") %></a>
    
    </ItemTemplate>
    </asp:TemplateField>
     <asp:TemplateField>
    <HeaderTemplate>
    22种降价品种
    </HeaderTemplate>
    
    <ItemTemplate>
    <a href='companyTB_Goods.aspx?UserCode_TB=<%#DataBinder.Eval(Container.DataItem,"中标企业编号") %>&projectid=10' target="_blank"><%#DataBinder.Eval(Container.DataItem, "22种降价品种")%></a>
    
    </ItemTemplate>
    </asp:TemplateField>
     <asp:TemplateField>
    <HeaderTemplate>
    血液制品
    </HeaderTemplate>
    
    <ItemTemplate>
    <a href='companyTB_Goods.aspx?UserCode_TB=<%#DataBinder.Eval(Container.DataItem,"中标企业编号") %>&projectid=11' target="_blank"><%#DataBinder.Eval(Container.DataItem, "血液制品")%></a>
    
    </ItemTemplate>
    </asp:TemplateField>
      <asp:TemplateField>
    <HeaderTemplate>
    重点监控
    </HeaderTemplate>
    
    <ItemTemplate>
    <a href='companyTB_Goods.aspx?UserCode_TB=<%#DataBinder.Eval(Container.DataItem,"中标企业编号") %>&projectid=12' target="_blank"><%#DataBinder.Eval(Container.DataItem, "重点监控")%></a>
    
    </ItemTemplate>
    </asp:TemplateField>
          <asp:BoundField DataField="状态" HeaderText="状态" />

    <asp:TemplateField>
    <HeaderTemplate>
    撤废
    </HeaderTemplate>
    <ItemTemplate>
    <input id="chk" name="chk" type="checkbox" value='<%#DataBinder.Eval(Container.DataItem,"中标企业编号") %>' />
    </ItemTemplate>
    </asp:TemplateField>
    
    
  
    
    </Columns>
    
     <RowStyle CssClass="table_td" />
        <AlternatingRowStyle CssClass="table_td2" />
        <HeaderStyle CssClass="table_title" />
    
    </asp:GridView>
     <asp:GridView ID="GridView2" runat="server"  >
     </asp:GridView>
</asp:Content>

